#!/bin/sh
# Copyright (C) 2010 OpenWrt.org

do_mount_xenfs() {
	grep -q xenfs /proc/filesystems && \
		mount -o noatime -t xenfs none /proc/xen
}

boot_hook_add preinit_mount_root do_mount_xenfs
